package com.ipzoe.file.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "ruoyi.file-server")
public class FileServerProperties {

    /**
     * 为以下1个值，指定不同的自动化配置
     * aliyun：阿里云oss
     * huaweiyun：华为云obs
     * local：本地文件系统
     */
    private String type;

    /**
     * oss配置
     */
    private AliyunOssProperties oss = new AliyunOssProperties();

    private HuaweiyunObsProperties obs = new HuaweiyunObsProperties();

    private FileLocalProperties local = new FileLocalProperties();
}
